package cn.edu.xmu.wnw.dao;

// default package

import java.util.List;

import org.springframework.context.ApplicationContext;

import cn.edu.xmu.wnw.pojo.ArticleAttachment;



public interface ArticleAttachmentDAO {

	public void initDao();

	public void save(ArticleAttachment transientInstance);

	public void delete(ArticleAttachment persistentInstance);

	public ArticleAttachment findById(java.lang.Integer id);

	public List findByExample(ArticleAttachment instance);

	public List findByProperty(String propertyName, Object value);

	public List findByName(Object name);

	public List findByPath(Object path);

	public List findAll();

	public ArticleAttachment merge(ArticleAttachment detachedInstance);

	public void attachDirty(ArticleAttachment instance);

	public void attachClean(ArticleAttachment instance);

	public ArticleAttachmentDAO getFromApplicationContext(ApplicationContext ctx);
}